<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ include file="/page/user/gerenHeader.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>评价 | 饿9订 </title>
<style type="text/css">
tr td{
/* border: 1px solid red; */
}
#nav1 ul{
list-style: none;
}
#nav1 ul li{
float: left;
padding-left: 10px;
}
#nav ul{ 
margin: 0 0 0 10px; 
padding-top:8px;
font-size: 16px; 
color: black; 
line-height: 30px; 
white-space: nowrap; 
margin-left: -40px;
margin-top: 20px;
} 
#nav li{ 
list-style-type: none; 
display: inline; 
} 
#nav li a { 
text-decoration: none; 
font-family: '微软雅黑';
font-size:16px; 
padding: 10px 20px; 
color: black; 
} 
#nav li a:hover { 
color: black; 
background-color: #3199e8; 
} 
#nav li a:VISITED { 
color: black; 
background-color: #3199e8; 
} 
#menu ul li a:LINK{text-decoration: none;color:black;}
#menu ul li  a:visited {text-decoration:none ; color:#0089e0;}
#menu ul li  a:hover {text-decoration:underline ; color:#0089e0;}
#menu ul li  a:active {text-decoration:none ; color:#0089e0;} 
#mycart tr td{
/*  border: 1px red solid;  */
 font-family: '微软雅黑';
}
</style>
</head>
<body>
<div style="background-color:white;width:100%;height: 100px;border-bottom: #e4e4e4 1px solid; ">
<div style="width:1100px;height:100% ;margin-left:115px;">
<div style="width: 350px;height:100% ;float: left;">
<table>
<tr height="50px;">
<td width="100px;" rowspan="2"><img width="100px" height="100px;" alt="" src="<%=basePath%>image/<s:property value='company.comImage'/>"> </td>
<td width="250px;"><span style="font-size:20px;"><s:property value="company.comName"/></span> </td>
</tr>
<tr height="50px;">
<td width="250px;"><img src="<%=basePath%>image/start/start<s:property value="company.avgEval"/>.png"/>&nbsp;<span style="font-family:微软雅黑';font-size:10px;color:#e4e4e4;"><s:property value="company.comtypeName"/></span> </td>
</tr>
</table>
</div>
<div style="width: 380px;height:100% ;float: left;" id="nav">
<ul>
<li><a href="menu_menuList?comId=<s:property value="company.comId"/>">菜单</a></li>
<li><a>美食墙</a></li>
<li><a href="eval_evalList?comId=<s:property value="company.comId"/>">评价</a></li>
</ul>
</div>
<div style="width: 350px;height:100% ;float: right;">
<table>
<tr height="70px">
<td width="120px;" align="center"><span style="font-family:'微软雅黑';font-size:40px;font-weight:200;color:#333;"><s:property value="company.roomDate"/></span></td>
<td width="120px" align="center"><span style="font-family:'微软雅黑';font-size:40px;font-weight:200;color:#333;">1</span></td>
<td width="100px" align="center"><span style="font-family:'微软雅黑';font-size:40px;font-weight:200;color:#333;"><s:property value="company.comDis"/></span></td>
</tr>
<tr height="20px">
<td width="120px" align="center">速度/分钟</td>
<td width="120px" align="center">餐厅距离/千米</td>
<td width="100px" align="center">起送价/元</td>
</tr>

</table>
</div>
</div>
</div>
<div style="width: 800px;height: 600px;margin: 0px auto;">
<table>
<s:iterator value="evaluations" id="eval">
<tr height="30px;">
<td width="150px;"><s:property value="#eval.menuName"/></td>
<td width="150px;"><img src="<%=basePath%>image/start/start<s:property value="#eval.evalStar"/>.png"/></td>
<td width="150px;"><s:property value="#eval.userName"/></td>
<td width="150px;"><s:property value="#eval.evalDate"/></td>
</tr>
<tr height="50px;">
<td width="150px;">评价内容</td>
<td width="150px;" colspan="3"><s:property value="#eval.evalComment"/></td>
</tr>
</s:iterator>
</table>
</div>
</body>
<%@ include file="/page/user/userFooter.jsp"%>
</html>